package com.ms.game.characterInfo;

import com.xpec.c4.service.module.datacenter.player.db.DailyExchangeLogModel;

public class DailyExchange {
	/** 行為id */
	private int changeWay;
	
	/** 金幣 異動數值 */
	private String goldChangeValue;

	/** 金幣 變更後數值 */
	private String goldAfterChange;
	
	private long time;
	
	public DailyExchange(){
		
	}
	
	public int getChangeWay() {
		return changeWay;
	}

	public void setChangeWay(int changeWay) {
		this.changeWay = changeWay;
	}

	public String getGoldChangeValue() {
		return goldChangeValue;
	}

	public void setGoldChangeValue(String goldChangeValue) {
		this.goldChangeValue = goldChangeValue;
	}

	public String getGoldAfterChange() {
		return goldAfterChange;
	}

	public void setGoldAfterChange(String goldAfterChange) {
		this.goldAfterChange = goldAfterChange;
	}

	public DailyExchange(DailyExchangeLogModel model){
		this.changeWay = model.getChangeWay();
		this.goldChangeValue = model.getGoldChangeValue().toString();
		this.goldAfterChange = model.getGoldAfterChange().toString();
		this.time = model.getGameTime();
	}
}
